extends PlayerState


func enter():
	player.get_node("Position2D/Sprite").visible = false
	player.velocity = Vector2.ZERO
	
func update():
	if Input.is_action_pressed("Z"):
		state_machine.transition_to("PlayerIdle")
